MappingEntry

abstract class MappingEntry

Defines a mapping entry.

A mapping entry collects the drone model onto which the entry should apply, as well as the type of the entry which defines the concrete subclass of the entry.

Application cannot instantiate this class directly, and must use ether ButtonsMappingEntry or AxisMappingEntry depending on the desired entry type.

Inheritors

Types

Link copied to clipboard
enum Type
Type of the entry.

Functions

Link copied to clipboard
open fun <ENTRY : MappingEntry?> as(@NonNull entryClass: Class<ENTRY>): ENTRY
Cast the entry to the specified subtype.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Gets the associated drone model.
Link copied to clipboard
Gets the entry type.
Link copied to clipboard
open fun hashCode(): Int